package cn.com.utt.unms.pojo;

import java.sql.Timestamp;

public class Device {

	private Long id;
	private Long networkId;
	private String name;
	private String sn;
	private String mac;
	private String type;
	private String hardwareVer;
	private String softVer;
	private String model;
	private Long modelId;
	private Byte systemMode;
	private Byte status;
	private Long rfId;
	private Timestamp bindTime;
	private Timestamp registerTime;
	private Timestamp onlineTime;
	private String ip;
	private Byte radio;// 是否支持2.4g或5g： 0：不支持 2.4G和5G  1：仅支持2.4G  2： 仅支持 5G  
						// 3：支持2.4G和5G
	private Byte layer3;
	private Byte autoUpgradeEnable;
	private String code;
	private String securityCode;
	private Byte importType;
	private Byte isFast;
	
	private long version;
	private int client24g;
	private int client5g;
	
	public Device() {
		super();
		registerTime = new Timestamp(System.currentTimeMillis());
		bindTime = new Timestamp(System.currentTimeMillis());
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSn() {
		return sn;
	}

	public void setSn(String sn) {
		this.sn = sn;
	}

	public String getMac() {
		return mac;
	}

	public void setMac(String mac) {
		this.mac = mac;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getHardwareVer() {
		return hardwareVer;
	}

	public void setHardwareVer(String hardwareVer) {
		this.hardwareVer = hardwareVer;
	}

	public String getSoftVer() {
		return softVer;
	}

	public void setSoftVer(String softVer) {
		this.softVer = softVer;
	}

	public Byte getSystemMode() {
		return systemMode;
	}

	public Long getNetworkId() {
		return networkId;
	}

	public void setNetworkId(Long networkId) {
		this.networkId = networkId;
	}

	public void setSystemMode(Byte systemMode) {
		this.systemMode = systemMode;
	}

	public Long getRfId() {
		return rfId;
	}

	public void setRfId(Long rfId) {
		this.rfId = rfId;
	}

	public Timestamp getBindTime() {
		return bindTime;
	}

	public void setBindTime(Timestamp bindTime) {
		this.bindTime = bindTime;
	}

	public Timestamp getRegisterTime() {
		return registerTime;
	}

	public void setRegisterTime(Timestamp registerTime) {
		this.registerTime = registerTime;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public Byte getRadio() {
		return radio;
	}

	public void setRadio(Byte radio) {
		this.radio = radio;
	}

	public String getModel() {
		return model;
	}

	public void setModel(String model) {
		this.model = model;
	}

	public Long getModelId() {
		return modelId;
	}

	public void setModelId(Long modelId) {
		this.modelId = modelId;
	}

	public Byte getLayer3() {
		return layer3;
	}

	public void setLayer3(Byte layer3) {
		this.layer3 = layer3;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public Byte getAutoUpgradeEnable() {
		return autoUpgradeEnable;
	}

	public void setAutoUpgradeEnable(Byte autoUpgradeEnable) {
		this.autoUpgradeEnable = autoUpgradeEnable;
	}

	public Byte getStatus() {
		return status;
	}

	public void setStatus(Byte status) {
		this.status = status;
	}

	public Timestamp getOnlineTime() {
		return onlineTime;
	}

	public void setOnlineTime(Timestamp onlineTime) {
		this.onlineTime = onlineTime;
	}
	
	public long getVersion() {
		return version;
	}
	
	public void setVersion(long version) {
		this.version = version;
	}
	
	public Byte getIsFast() {
		return isFast;
	}
	
	public void setIsFast(Byte isFast) {
		this.isFast = isFast;
	}
	
	public String getSecurityCode() {
		return securityCode;
	}

	public void setSecurityCode(String securityCode) {
		this.securityCode = securityCode;
	}

	public Byte getImportType() {
		return importType;
	}

	public void setImportType(Byte importType) {
		this.importType = importType;
	}

	public int getClient24g() {
		return client24g;
	}

	public int getClient5g() {
		return client5g;
	}

	public void setClient24g(int client24g) {
		this.client24g = client24g;
	}

	public void setClient5g(int client5g) {
		this.client5g = client5g;
	}

}
